import { routerState } from './modules/router'

const getters = {
  expandRouterName: (state: { router: routerState }) => state.router.expandRouterName,
  accessToken: (state: any) => state.user.accessToken,
  carId: (state: any) => state.user.carId,
  username: (state: any) => state.user.username,
  account: (state: any) => state.user.account,
  userInfo: (state: any) => state.user.userInfo,
  userId: (state: any) => state.user.userId, 
 
  // reloadPage: (state: { router: routerState }) => state.router.reloadPage
}
export default getters
